Queries over Virtual Nested Objects
نویسندگان
چکیده
We describe a system that allows the easy specification and efficient support of queries specified as a set of attribute/ predicate/value triplets over virtual nested objects constructed from relational databases. For example, the Internet Movie Database (imdb) provides virtual nested objects such as ”movies” (each one containing a movie tuple, multiple actor tuples and more) and ”actors” (containing multiple movies). Queries may contain both boolean and text/fuzzy predicates and may be directed to one or more virtual nested object sets. We define ranked query semantics that capture the common requirements that (1) individual tuples within a nested object may only satisfy a subset of all the predicates and (2) an object that contains a tuple that satisfies more than one predicates should (all other things being equal) be ranked higher than an object where such predicates are satisfied over multiple tuples. The system fully utilizes the existing indices in the relational databases and combines special purpose algorithms with database accesses. Experiments demonstrate that the obtained performance is significantly better than the performance obtained by fully deferring query evaluation to SQL queries.
منابع مشابه
Efficient Object Querying for Java
Modern programming languages have little or no support for querying objects and collections. Programmers are forced to hand code such queries using nested loops, which is both cumbersome and inefficient. We demonstrate that first-class queries over objects and collections improve program readability, provide good performance and are applicable to a large number of common programming problems. W...
متن کاملEquivalence of Queries with Nested Aggregation
Query equivalence is a fundamental problem within database theory. The correctness of all forms of logical query rewriting—join minimization, view flattening, rewriting over materialized views, various semantic optimizations that exploit schema dependencies, federated query processing and other forms of data integration—requires proving that the final executed query is equivalent to the origina...
متن کاملConcurrency Control in Distributed MRA Index Structure
Answering aggregate queries like sum, count, min, max over regions containing moving objects is often needed for virtual world applications, real-time monitoring systems, etc. Since the data set is usually very large and some queries require significant processing resources, quite often such data is stored in a distributed system wherein each system handles a partition of the whole space and ma...
متن کاملOn Two Forms of Structural Recursion
We investigate and compare two forms of recursion on sets for querying nested collections. The rst one is called sri and it corresponds to sequential processing of data. The second one is called sru and it corresponds to data-parallel processing. A uniform rst-order translation from sru into sri was known from previous work. The converse translation is by necessity more diicult and we have obta...
متن کاملAn Experimental Analysis of Iterated Spatial Joins in Main Memory
Many modern applications rely on high-performance processing of spatial data. Examples include location-based services, games, virtual worlds, and scientific simulations such as molecular dynamics and behavioral simulations. These applications deal with large numbers of moving objects that continuously sense their environment, and their data access can often be abstracted as a repeated spatial ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2009